package com.service;
import java.util.List;

import com.model.Records;
import com.util.PageBean;

public interface RecordsService{
	
	//查询多条记录
	public List<Records> queryRecordsList(Records records,PageBean page) throws Exception;
 
	//添加
	public int insertRecords(Records records) throws Exception ;
	
	//根据ID删除
	public int deleteRecords(int id) throws Exception ;
	
	//更新
	public int updateRecords(Records records) throws Exception ;
	
	//根据ID查询单条数据
	public Records queryRecordsById(int id) throws Exception ;
	
	//得到记录总数
	int getCount(Records records);

}

